home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / DistributedEO / DEOClient.subproj / DEONotification.h next >
Encoding:
Text File  |  1995-02-17  |  819 b   |  27 lines

  1. /*
  2.    DEONotification.h created by enoyau on Fri 13-Jan-1995
  3.  
  4.    You may freely copy, distribute, and reuse the code in this example.
  5.    NeXT disclaims any warranty of any kind, expressed or implied, as to its
  6.    fitness for any particular use.
  7. */
  8. // DEONotification is a subclass of NSNotification which contains some
  9. // additional information like userInfo and isLocal. 
  10.  
  11. #import <foundation/NSNotification.h>
  12.  
  13. @interface DEONotification : NSNotification
  14. {
  15.     NSString *name;
  16.     id object;
  17.     NSDictionary *userInfo;
  18.     BOOL isLocal;
  19. }
  20. + (DEONotification *)notificationWithName:(NSString *)name
  21.                                    object:object
  22.                                  userInfo:(NSDictionary *)userInfo
  23.                                   isLocal:(BOOL)yn;
  24. - (BOOL)isLocal;
  25. - (NSDictionary *)userInfo;
  26. @end
  27.